package com.rattkin.event
{
	import flash.events.Event;
	
	public class StateEvent extends Event
	{		
		[Bindable] static public var CHANGE:String = "stateEvent_Change";		

		[Bindable] static public var STATE_START:String = "Start";  
		[Bindable] static public var STATE_LOAD:String = "Load";
		[Bindable] static public var STATE_MAIN:String = "Main";	

		[Bindable] public var stateName:String;
		
		public function StateEvent(type:String, newState:String = null, bubbles:Boolean=true, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			this.stateName = newState;
		}
	}
} 